<?php


class IndexController extends AdminController {

    public function actionIndex() {
        $this->render("//admin/index");
    }

    public function actionLogin() {
        if (Yii::app()->request->getIsAjaxRequest()) {
            $this->layout = self::XHR_LAYOUT;
        }

        echo "some login";
    }

    public function actionTest() {
        echo "test";
    }
}